package com.hc.server.user.service;

import com.hc.server.common.domain.vo.request.PageBaseReq;
import com.hc.server.common.domain.vo.response.PageBaseResp;
import com.hc.server.user.domain.vo.request.friend.FriendApplyReq;
import com.hc.server.user.domain.vo.request.friend.FriendApproveReq;
import com.hc.server.user.domain.vo.response.friend.FriendApplyResp;

/**
 * Created by wdj on 2024/10/22
 */
public interface FriendService {

    /**
     * 应用
     * 申请好友
     *
     * @param request 请求
     * @param uid     uid
     */
    void apply(Long uid, FriendApplyReq request);

    /**
     * 同意好友申请
     *
     * @param uid     uid
     * @param request 请求
     */
    void applyApprove(Long uid, FriendApproveReq request);

    /**
     * 分页查询好友申请
     *
     * @param request 请求
     * @return {@link PageBaseResp}<{@link FriendApplyResp}>
     */
    PageBaseResp<FriendApplyResp> pageApplyFriend(Long uid, PageBaseReq request);
}
